package hui.com.model.req.sales;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 接受前端传参
 */
@Data
public class RequestGetSalesForecastHistory {

    private int salesHistoryID;
    private int salesForecastID;
    private String salesForecastCode;
    private String projectType;
    private String projectName;
    private String custName;
    private Boolean isScheme;
    private Double estAmount;
    private LocalDateTime estimatedStartTime;
    private LocalDateTime estimatedEndTime;
    private LocalDateTime schemeTime;
    private LocalDateTime schemeActualTimes;
    @JsonProperty(value="userName")
    private Integer userName;
    @JsonProperty(value="updUserName")
    private Integer updUID;

    private Integer state;
    private Boolean draft;

    private LocalDateTime strTime; //时间范围查询
    private LocalDateTime endTime; //时间范围查询
    private Integer currentIndex; // 后端自己计算从第几个开始
    private Integer currentPage; //当前页
    private Integer pageSize; // 一页多少
}
